/** 
 * All Rights Reserved , Copyright (C) 2020 , 青岛鼎信通讯股份有限公司
 * 
 * FileBlockRecordActionAuto
 * 文件分块
 * 
 * 修改纪录
 * 2020-08-15 版本：1.0 donghang 创建。
 * @version 版本：1.0
 * @author 作者：donghang
 * 创建日期：2020-08-15
 */

package com.topscomm.meet.controller.auto;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.topscomm.meet.MeetController;
import com.topscomm.meet.pojo.FileBlockRecordEntity;
import com.topscomm.meet.service.IFileBlockRecordService;
import com.topscomm.pub.vo.ResponseResult;

public class FileBlockRecordControllerAuto extends MeetController<FileBlockRecordEntity, IFileBlockRecordService> {
	/**
	 * 
	 * @description: 
	 * @param paraMap
	 * @return 
	 * @author: donghang
	 * @date: 2020-08-15
	 * @modify:
	 */
	@Override
	@GetMapping(value = "/dataCodeList")
	public ResponseResult<Object> dataCodeList(@RequestParam(required = false) Map<String, Object> paraMap) {
		Map<String, Object> codeMap = new HashMap<String, Object>();
		
		List<Map<String, Object>> enabledList = datacodeCache.getCodeListMap("CboYesNo", "", "sortcode");
		codeMap.put("enabledList", enabledList);
		super.dataCodeList(paraMap);
		return ResponseResult.ok(codeMap);
	}
}

